package com.fimmlps.reronge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("entry_user")
public class EntryUser implements Serializable {

  @TableId(value = "user_id",type = IdType.AUTO)
  private Integer userId;

  private String userName;
  private String userPassword;
  private String userHeadUrl;
  private String userEmail;
  private LocalDateTime userCreateTime;
  private Integer userAdmin;
  private Integer userEditor;


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }


  public String getUserEmail() {
    return userEmail;
  }

  public void setUserEmail(String userEmail) {
    this.userEmail = userEmail;
  }


  public LocalDateTime getUserCreateTime() {
    return userCreateTime;
  }

  public void setUserCreateTime(LocalDateTime userCreateTime) {
    this.userCreateTime = userCreateTime;
  }


  public Integer getUserAdmin() {
    return userAdmin;
  }

  public void setUserAdmin(Integer userAdmin) {
    this.userAdmin = userAdmin;
  }


  public Integer getUserEditor() {
    return userEditor;
  }

  public void setUserEditor(Integer userEditor) {
    this.userEditor = userEditor;
  }

}
